We totally forgot to use a localisation message we carefully introduced.
We're even sending the message to the client correctly, just not using it.
Has plenty of translations and this is a really annoying kind of issue
to notice on a non-English wiki.
Change-Id: Ifc2cb5ac5930c8d3c4b0da295d5d868d442630b2
+/*
+ * Local backports:
+ *
+ * - 4fbbc737c86b500c11bbb471ec1001c50ab8853c
+ * SelectFileWidget: Use i18n string for button label
+ * We totally forgot to use a localisation message we carefully introduced.
+ */
+
/*!
* OOjs UI v0.13.3
* https://www.mediawiki.org/wiki/OOjs_UI
this.selectButton = new OO.ui.ButtonWidget( {
classes: [ 'oo-ui-selectFileWidget-selectButton' ],
- label: 'Select a file',
+ label: OO.ui.msg( 'ooui-selectfile-button-select' ),
disabled: this.disabled || !this.isSupported
} );